package com.jarvis.pzz;


import com.baidu.mapapi.CoordType;
import com.baidu.mapapi.SDKInitializer;
import com.jarvis.pzz.util.CrashHandler;
import com.jarvis.pzz.util.JarvisUtil;
import com.umeng.analytics.MobclickAgent;

/**
 * Created by jarvis.liu on 9/8/2016.
 */
public class Application extends android.app.Application {
    public static Application application;


    @Override
    public void onCreate() {
        super.onCreate();
        System.out.println("Application111111-----------");
        application = this;
        SDKInitializer.initialize(this);
        //自4.3.0起，百度地图SDK所有接口均支持百度坐标和国测局坐标，用此方法设置您使用的坐标类型.
        //包括BD09LL和GCJ02两种坐标，默认是BD09LL坐标。
        SDKInitializer.setCoordType(CoordType.BD09LL);
        new JarvisUtil().initSystem(this);
        System.out.println("Application2222222222-----------");
//        CrashHandler.getInstance().init(this);
//        MobclickAgent.setDebugMode(true);
    }
}
